<template>
  <h1>仿饿了么复选框组件</h1>
  <!-- <MyCheckbox :modelValue="bl" @update:modelValue="bl = $event" label="备选项"></MyCheckbox> -->
  <MyCheckbox v-model="bl" label="备选项"></MyCheckbox>
</template>

<script>
import { ref } from 'vue'
import MyCheckbox from './components/MyCheckbox.vue'
export default {
  components: { MyCheckbox },
  setup() {
    const bl = ref(false)
    return { bl }
  },
}
</script>

<style></style>
